package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.BaseRolePurview;
import com.runfast.waimai.dao.model.BaseRolePurviewExample;

import java.util.List;

public interface BaseRolePurviewService extends IService<BaseRolePurview, Integer, BaseRolePurviewExample> {

    /**
     * 根据角色ID，获取菜单ID列表
     */
    List<Integer> queryPurviewIdList(Integer rid);
    List<Integer> queryMenuIdList1(Integer rid);
    List<Integer> queryMenuIdList2(Integer rid);
}